<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="聚宝盆,39249，信用卡付货款，信用卡付房租"/>
<meta name="description" content="聚宝盆是由杭州凡伟网络科技有限公司研发的一个中小企业收货款的支付平台，此平台乃中国首创，国内第一家实现收货款的贷款金融功能的服务产品，欢迎新用户注册聚宝盆，马上开始轻松解决企业现金流问题！"/>
<meta name="baidu-site-verification" content="Xj4pLzwbE1ui9444" />
<title>我的聚宝盆 - 登录</title>
	<script type="text/javascript" src="libs/jquery.min.js"></script> 
	<link type="text/css" media="screen" rel="stylesheet" href="resources/css/global.css">
	<link rel="stylesheet" href="resources/css/detail.css" media="all"/>
	<link rel="stylesheet" href="resources/css/content.css" media="all"/>
	<link rel="stylesheet" href="resources/css/common.css" media="all"/>
	<link rel="shortcut icon" href="resources/images/favicon.ico" media="all"/>

<style>
.divtips {
	background: rgb(255, 253, 234); margin: 0px 0px 10px 0px; padding: 6px; border: 1px solid rgb(255, 203, 87); position: relative; zoom: 1;
}
.divtips .closeing {
	background: url("resources/images/icon-close.png") no-repeat; top: 5px; width: 15px; height: 15px; right: 5px; margin-right: 0px; display: block; position: absolute;
}
</style>
</head>
<body>
<div  class="ui-container">
	<!-- 吊顶 -->
<div id="global-header" class="global-header the-alipay-global">
	<div id="global-header-area" class="fn-clear" >
		<div class="global-logo">
			   <a href="/index.htm" title="我的聚宝盆"><span>聚宝盆</span></a>
		</div>
		
		<div class="global-toplink"style="text-align:right;">
			您还没有聚宝盆帐号？&nbsp;
			<a href="/register.html">立即注册</a>
			<em class="global-separator">|</em>
			<a href="/login.html">登录</a>
			<br/>
			<span style="margin-top:10px; float:left">
				第一次使用聚宝盆？
				<a href="/jieshao.html" target="_blank" style="color:blue">点此了解>></a>&nbsp;
			</span>
			</div><!-- .global-toplink -->
	</div>
</div>
<!-- 吊顶 -->

<div id="indexBannerBg" class="fn-clear" style="margin-bottom: 42px;">

<div class="auth-login auth-login-shadow">
	<div class="auth-login-container">
		<ul class="auth-login-tab">
		</ul>
		<div class="auth-login-content">
		<div class="error-box" style="display:none;margin: 0 10px 10px 20px;"></div>
		<form id="loginForm">
			<div class="ui-form-item" style="margin-bottom: 5px;">
				<label for="ipt-search-key" class="ui-form-label required">手机号码：</label>
				<input id="mobile" class="ui-input required" maxLength="80" value="" tabindex="1"/>
				<div class="fm-explain" id="mobile-tip"></div>
			</div>
			<div class="ui-form-item" style="margin-bottom: 5px;">
				<label for="ipt-search-key" class="ui-form-label required">登录密码：</label>
				<input id="password" type="password" class="ui-input required" maxLength="80" value="" tabindex="2"/>
				<div class="fm-explain" id="psd-tip"></div>
			</div>
			<div class="ui-form-item" style="margin-bottom: 5px;">
				<label for="ipt-search-key" class="ui-form-label required">验证码：</label>
				<input id="checkCode" class="ui-input required" maxLength="80" value="" tabindex="3" style="width:50px"/>
				<img title="看不清，点击换一换" src="/checkCode.htm" width="80" height="30" id="checkCodeImage"  style="margin-bottom: -10px"/>
				<a href="#" id="checkCodeHref">看不清,换一张</a>
				<div class="fm-explain" id="checkcode-tip"></div>
			</div>
			<div class="ui-form-item">
		       <span class="btn btn-ok" style="overflow:hidden">
		            <input type="button" value="登录" onclick="login()"/>
		       </span>
		       
		       <span class="btn btn-ok" style="overflow:hidden">
		            <input type="button" value="免费注册" onclick="javascript:window.location.href='/register.html'"/>
		       </span>
			</div>
		</form>
		</div>
	</div>
</div>

	<div class="auth-banner" style="margin-top:30px">
		<img width="462" height="269" src="/resources/images/logomain.png"/>
	</div>
	
</div>

<!-- 页脚 -->
<div class="ui-footer fn-clear">
    <div class="ui-footer-ctn">
		<div class="ui-footer-link">
	    	<a href="http://www.39249.com/about.html" target="_blank">关于聚宝盆</a>  
	           <em class="ui-separator">|</em>
	       <a  href="http://www.39249.com/prot.html" title="服务协议" target="_blank">聚宝盆服务协议</a>
	           <em class="ui-separator">|</em>
	       <a href="http://www.39249.com/contact.html" title="联系我们" target="_blank">联系我们</a>
			   <em class="ui-separator">|</em>
	       <a href="http://hi.baidu.com/new/i39249" title="官方空间" target="_blank">官方空间</a>
		    <em class="ui-separator">|</em>
	       <a href="http://www.39249.com/partner.html" title="合作伙伴" target="_blank">合作伙伴</a>  	
	      	<em class="ui-separator">|</em>
	       <a href="http://hi.baidu.com/i39249/item/71928b15b19968e638cb3025" title="媒体报道" target="_blank">媒体报道</a>
	       <!-- 
	        <em class="ui-separator">|</em>
	       <a href="http://www.39249.com/business.html" title="招商加盟" target="_blank">招商加盟</a>
	        -->
	    </div>
      	<div class="ui-footer-copyright">
			<div class="copyright">
			  杭州凡伟网络科技有限公司&copy;2012 
			  <a href="#" target="_blank">湘ICP备12005446号</a>
			  <script type="text/javascript">
				var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
				document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7252c6ea6d9c83e4994e0e92fb0d9799' type='text/javascript'%3E%3C/script%3E"));
			  </script>
			  <script src="http://s16.cnzz.com/stat.php?id=4228610&web_id=4228610&show=pic" language="JavaScript"></script>
			  <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2227972658&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:2227972658:42" alt="点击这里给我发消息" title="点击这里给我发消息"></img></a>
			</div>
		</div>
		<div class="ui-footer-copyright">
			<img src="/resources/images/cfcalog.png" align="absmiddle"/>
			<a href="http://webscan.360.cn/index/checkwebsite/url/www.39249.com" target="_blank"><img align="absmiddle" border="0" style="width:100px;height:32px" src="http://webscan.360.cn/status/pai/hash/be9b7b92c0204ce0275b60814fb9ce77"/></a>
			<img src="/resources/images/cnnis.png" style="width:100px;height:32px" align="absmiddle"/>
		</div>
	</div>
</div>
 <!--页脚 -->
 
</div>

<script type="text/javascript">


$(".closeing").click(function(){
	$("#gonggao").hide();
});

function login() {
	$("form .required:input").trigger('blur');
	var numError = $('form .onError').length;
	if(numError){
		return false;
	}
	
	var mobile = $("#mobile").val();
	var password = $("#password").val();
	var checkCode = $("#checkCode").val();
	
	$.post('/login.htm', {
		'mobile' : mobile,
		'password' : password,
		'checkCode':checkCode,
		'type':0
	}, function(data) {
		var str = $.trim(data);
		if (str == "success") {
			window.location.href = "/index.htm";
		} else if(str == "mobileunconf"){
			window.location.href = "/mobileconf.htm";
		} else if(str == "freeze"){
			alert("对不起，您的帐号已被冻结，请联系在线客服！");
		}else{
			$(".error-box").empty();
			$(".error-box").css("display", "block").append(data);
		}
	});
}

	$(function(){           
    	$('#checkCodeImage').click(function () {//生成验证码  
     	$(this).hide().attr('src', '/checkCode.htm?' + Math.floor(Math.random()*100) ).fadeIn(); })      
    });   
          
	$('#checkCodeHref').click(function () {//生成验证码  
     	$('#checkCodeImage').hide().attr('src', '/checkCode.htm?' + Math.floor(Math.random()*100) ).fadeIn(); 
	});   
	
	$('form :input').blur(function(){
		var $parent = $(this).parent();
		$parent.find(".formtips").remove();
		
		if($(this).is('#mobile')){
			var pattern = /^(13[0-9]|147|15[0|1|2|3|5|6|7|8|9]|18[0|2|3|5|6|7|8|9])\d{8}$/;
			if(this.value == "" || this.value == null || !pattern.test(this.value)){
				$('#mobile-tip').empty();
				$('#mobile-tip').append("<span class='formtips onError' style='color:red'>请填写手机号码</span>");
			}
		}
		if($(this).is('#checkCode')){
			if(this.value == "" || this.value == null){
				$('#checkcode-tip').empty();
				$('#checkcode-tip').append("<span class='formtips onError' style='color:red'>请填写验证码</span>");
			}
		}
		
		$(document).bind('keydown', function (e) {
            var key = e.which;
            if (key == 13) {
                e.preventDefault();
                login();
            }
        });
	});
</script>
</body>
</html>